package com.cooldatasoft.dao.impl;

import java.util.List;

import com.cooldatasoft.base.RootDAOImpl;
import com.cooldatasoft.dao.WorkExpDAO;
import com.cooldatasoft.data.WorkExp;

public class WorkExpDAOImpl extends RootDAOImpl<WorkExp> implements WorkExpDAO {

	public WorkExpDAOImpl() {
		super(WorkExp.class);
	}

	public List<WorkExp> getWorkExpListByPersonId(Integer entityId) {
		return find("from WorkExp WHERE deleted=false AND personId="+entityId);
	}

}
